package week02;

public class TestAuthenticator {
    public static void main(String[] args) {
       Authenticator authenticator=AuthenticatorFactory.createAuthenticator();
       if(authenticator!=null){
           authenticator.save("lyy","111");
           System.out.println(authenticator.authenticate("lyy","111"));
       }
    }
}